package com.morequick.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import com.morequick.dao.UserDao;
import com.morequick.model.User;
import com.morequick.service.UserService;

/**
 * 博主Service实现类
 * @author Administrator
 *
 */
@Service("UserService")
public class UserServiceImpl implements UserService{

	@Resource
	private UserDao userDao;

	public User find() {
		return userDao.find();
	}

	@Override
	public User getByUserName(String userName) {
		User user = userDao.getByUserName(userName);
		return user;
		
	}	
}
